#! /usr/bin/env python
# -*- coding: utf-8 -*-

import os
import sys
import django
"""
django 离线脚本
"""

base_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.append(base_dir)
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "saas.settings")
django.setup()

from web import models

models.UserInfo.objects.create(username='test', email='test@test.com', mobile_phone=13213213212, pwd='test1234')

